package com.financial.service.heemoney.controller.report;

import com.financial.service.heemoney.dto.inparameter.HeemoneyProviderSubmitInParamDTO;
import com.financial.service.heemoney.service.FinancialProsubmitHeemoneyService;
import com.financial.service.heemoney.service.FinancialProsubmitHeemoneylogService;
import com.financial.service.heemoney.utils.apiresult.ApiResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 汇收银商户统一进件
 * 
 * @author zhaopengjun
 * @email dashuaizhao@aliyun.com
 * @date 2019-12-24 15:27:27
 */
 
@RestController
@RequestMapping("/heemoneyProsubmit")
public class HeemoneyProsubmitController {
	@Autowired
	private FinancialProsubmitHeemoneyService financialProsubmitHeemoneyService;

	@PostMapping("/providerSubmit")
	public ApiResult providerSubmit(@RequestBody HeemoneyProviderSubmitInParamDTO heemoneyProviderSubmitInParamDTO) {
		return financialProsubmitHeemoneyService.providerSubmit(heemoneyProviderSubmitInParamDTO);
	}
	
}
